home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / lmatch16.zip / LMATCH.DOC < prev    next >
Text File  |  1993-03-12  |  24KB  |  522 lines

  1.  
  2.                               LETTER  MATCH
  3.  
  4.                                   v1.6
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                          (404) 256-9525 (Data)
  12.                          (404) 705-9104 (Data)
  13.                  (404) 256-9518 (Voice, 9am-9:30pm EST)
  14.  
  15.  
  16.  
  17.  
  18.                                 OVERVIEW
  19.                                 ________
  20.  
  21.  
  22. LETTER MATCH is an easy to play and very challenging word game, designed
  23. to test your memory, category knowledge and spelling.
  24.  
  25. The object of the game is to match as many words as possible, each time
  26. trying to beat the score you have posted in the high score file, as well
  27. other players scores.
  28.  
  29. The Sysop determines the category subject and the program will display it
  30. at the top of the box that contains the current word you are working with.
  31.  
  32. You must think of a word, in line with the current category, whose first
  33. letter matches the last letter of the word in the box OR whose last letter
  34. matches the first letter of the word in the box.
  35.  
  36. For Example: Given the category "STATES and CAPITALS" and an initial word
  37.              of "OREGON", you could use "OHIO" to match the first letter
  38.              in "OREGON" or you could use "NEW YORK" to match the last
  39.              letter in "OREGON".
  40.  
  41.  
  42.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  43.          created in the directory you run the door from.
  44.  
  45.  
  46.  
  47.                               INSTALLATION
  48.                               ____________
  49.  
  50.  
  51.    Installation is fairly easy and straight-forward. The following steps and
  52.    examples should have you up and running in a very short period of time.
  53.    It is assumed that you are familiar with setting up DOORS on your system.
  54.    To this end, only examples of the configuration file and Door batch file
  55.    are described.
  56.  
  57.       1) Create a directory to hold all LMATCH files
  58.  
  59.       2) Unzip LMATCHxx.ZIP into the the above directory
  60.  
  61.       3) Create a configuration file, with a name of your choice, or
  62.          modify the supplied LMATCH.CFG file. A description follows:
  63.  
  64.             **                       Location of system file (See Below)
  65.             SUNRISE-80 BBS           Your BBS Name
  66.             Al                       Sysop's First name
  67.  
  68.             Lawrence                 Sysop's Last Name
  69.  
  70. |-----------------------------------------------------------------------------|
  71. | READ!     1                        CommPort  \ These 2 lines are required   |
  72. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  73. |-----------------------------------------------------------------------------|
  74.  
  75.             00000000                 Registration Number
  76.  
  77.     !   #   2                        Maximum # of Games per day
  78.                                      (Sysop gets 99, Registered version ONLY)
  79.  
  80.         #   0                        Max # of days a caller can make up, during
  81.                                      calls in one day. 0=Disable Make-up Option
  82.                                      Maximum value = 27, Minimum value = 1
  83.  
  84.         #   NONE                     Drive:\Path\Filename to contain the
  85.                                      Top Score Bulletin or enter NONE
  86.                                      for NO Bulletin creation.
  87.  
  88.         #   NONE                     Drive:\Path\Filename to contain the
  89.                                      Top Score Bulletin (Color) or enter NONE
  90.                                      for NO Bulletin creation.
  91.  
  92.         #   NONE                     Drive:\Path\Filename to contain the
  93.                                      Hall of Fame Bulletin or enter NONE
  94.                                      for NO Bulletin creation.
  95.  
  96.         #   NONE                     Drive:\Path\Filename to contain the
  97.                                      Hall of Fame Bulletin (Color) or enter NONE
  98.                                      for NO Bulletin creation.
  99.  
  100.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  101.                                      2 = Display ADOPT-A-DOOR message
  102.  
  103.         #   2                        Keyboard timeout value in Minutes
  104.  
  105.     !   #   0                        Time allowed in Door
  106.                                      (Sysop = Time Remaining - REG. VERSION)
  107.  
  108.             c:\bbs\door\lmatch.cat   Drive:\Path\Filename of the Category file
  109.  
  110.         #   N                        Y = Play a Solitaire Game
  111.                                      N = Computer plays
  112.  
  113.         #   1                        Scoring: Points earned per match
  114.  
  115.         #   N                        Automatic game reset at end of month:
  116.                                        Y = Yes enable autoreset
  117.                                        N = Keep accumulating scores
  118.  
  119.         #   Y                        Y = Allow Sysop to have 999 games
  120.                                      N = Do Not Allow Sysop 999 games
  121.  
  122.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  123.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  124.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  125.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  126.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  127.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  128.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  129.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  130.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  131.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  132.     @   #   XXXX/YYYY                 Blackout Range  From/To
  133.     @   #   XXXX/YYYY                 Blackout Range  From/To
  134.     @   #   XXXX/YYYY                 Blackout Range  From/To
  135.     @   #   XXXX/YYYY                 Blackout Range  From/To
  136.     @   #   XXXX/YYYY                 Blackout Range  From/To
  137.  
  138.  
  139.  
  140.               ** = Replace with ONE of the following:
  141.  
  142. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  143. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  144. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  145.                                    (Note:DOOR.SYS must be in SAME directory)
  146. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  147. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  148. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  149. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  150. C:\BBS\CHAIN.TXT                <- For WWIV systems
  151. C:\BBS\GTUSER.BBS               <- For GT Power
  152.                                    * if using this option you must put the
  153.                                      ComPort # on line 5 and the Node # on
  154.                                      line 6 of the configuration file
  155.  
  156.  
  157.  
  158.            # = Requires registration to change to a different value.
  159.            ! = See "Plays Per Day" Below
  160.            @ = See "Blackout Periods" Below
  161.  
  162.                NOTE: There are NO Blank Lines in the Config File!!
  163.  
  164.  
  165.  
  166.  
  167.       4) Create a batch file or modify the LMATCH file supplied. A
  168.          description of this file follows:
  169.  
  170.             ECHO off
  171.             cd\BBS\DOORS\LMATCH       Location of LMATCH files
  172.             LMATCH LMATCH.CFG         EXE filename and CFG filename (Name
  173.                                       used in creating file in #3 above)
  174.             CD\BBS
  175.             BOARD
  176.  
  177.  
  178.        5) When running in more than one node, be sure to supply a
  179.           different configuration name for each node (your choice of name).
  180.  
  181.        6) If running with Fossil-based multi-port boards add
  182.            /FD to the line containing the CFG name as follows:
  183.  
  184.                        LMATCH LMATCH.CFG /FD
  185.  
  186.  
  187.  
  188.                          CATEGORY FILES
  189.                          --------------
  190.  
  191. In the unregistered version of Letter Match, you MUST use the category I have
  192. supplied, STATES and CAPITALS, in the file called LMATCH.CAT.
  193.  
  194. After registration you are free to use the extra category file I have
  195. included in the LMATCHxx.ZIP (XTRA1.CAT-XTRA5-CAT) or you may modify the extra
  196. file or you may create your own. If you will be creating your own or modifying
  197. the extra ones, you must ensure that you follow this format:
  198.  
  199. Line 1: CAT:xxxxxxxxx
  200.  
  201.       CAT:    must be left as you see it
  202.       xxxxxxx is the category title that will appear in the box used to display
  203.               the individual category entries. The maximum length = 40 char.
  204.  
  205. Line 2: Category Entry
  206.  
  207.         All category entries can have a maximum length of 40 characters.
  208.         You may have up to 500 entries in each category file.
  209.  
  210. The types of categories are only limited by your imagination. I would suggest
  211. that you place a substantial number of entries in each category file and at a
  212. minimum be sure you include all the possible answers for that category (or as
  213. many as you can find). I can assure you your users will come up with ones you
  214. have missed <GRIN>. With that in mind, I will apologize now for any mistakes
  215. or ommissions in the extra category files I have supplied <g>..
  216.  
  217.  
  218.                MAKE-UP DAYS (Registered version only)
  219.                --------------------------------------
  220.  
  221. The Make-Up-Day feature allows the caller to make up any plays he/she missed
  222. during the current month and prior to the current call. You control whether
  223. to allow this option, as well as the number of days the caller can make up, on
  224. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  225. configuration file, turns the option OFF, any other value (up to a max of 27)
  226. turns the option ON and dictates the number of days the caller can make up.
  227.  
  228.  
  229. NOTE:      The number of games per day is calculated as follows...
  230.  
  231.            Games Allowed per day x Number of makeup days.
  232.  
  233. Example:   Games Allowed per day = 2
  234.            Max # of makeup days  = 4
  235.  
  236. If a caller logs in on 5/8/92 and this is their first call of the month, they
  237. would have a potential of 16 games to makeup and bring them current
  238. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  239. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8
  240. (games allowed * max # of makeup days).
  241.  
  242.  
  243.  
  244.              HALL OF FAME BULLETINS (Registered version only)
  245.              ------------------------------------------------
  246.  
  247. The program will automatically reset the game when the first caller of the
  248. month plays the game. The score file will be cleared and a set of Hall of Fame
  249. bulletin files will be created. The files will be called SUNHOF.ASC and
  250. SUNHOF.ANS (ASCII and ANSI versions). The files will be placed in the same
  251. directory as the LAMTCH.EXE file. You are responsible for COPYING the files to
  252. your bulletin area and renaming to a filename of your choice.
  253.  
  254. WARNING: The HOF files are cumulative files. That means they are read in each
  255.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  256.          the record of prior months winners!!!!
  257.  
  258.  
  259.  
  260.                           BLACKOUT PERIODS
  261.                           ________________
  262.  
  263.       Use the Blackout ranges option to define up to 5 time periods during
  264.       which you DO NOT want the Door to be played. If a caller tries to access
  265.       the Door during the Blackout period, they will be shown a message that
  266.       contains ALL the Blackout periods you have defined, and to try the Door
  267.       at a later time.
  268.  
  269.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  270.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  271.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  272.  
  273.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  274.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  275.                    a Blackout range.
  276.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  277.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  278.  
  279.  
  280.  
  281.                           PLAYS Per DAY/DOOR Time
  282.                           _______________________
  283.  
  284.       Plays Per Day and Door Time can be controlled several ways:
  285.  
  286.       (1) You can use the Games Per Day, singular option, in the config
  287.           file above. This option, will affect ALL callers whose Security
  288.           Level is NOT defined in any of the 10 optional Security Level/
  289.           Plays Per Day entries in the config file.
  290.  
  291.       (2) You can use the Door Time, singular option, in the config file
  292.           above. This option, will affect ALL callers whose Security
  293.           Level is NOT defined in any of the 10 optional Security Level/
  294.           Plays Per Day/Door Time entries in the config file.
  295.  
  296.       (3) You can restrict the number of games a specific Security Level
  297.           will be allowed to play per day or REWARD specific Levels with
  298.           more Plays Per Day.
  299.  
  300.           Likewise, you can restrict the Play time for a specific Security
  301.           Level or REWARD specific Levels with more Door Time.
  302.  
  303.           These options are handled by the use of the 10 config
  304.           entries (000=00/00).
  305.  
  306.           The format of each entry is as follows:
  307.  
  308.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  309.                      where =  is a constant and MUST be included
  310.                      where YY is the # of games per day (must be 2 digits)
  311.                      where / is a constant and MUST be included
  312.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  313.  
  314.           If the callers Security Level is NOT defined, his/her Plays Per
  315.           Day and Door Time will be controlled by the values in items
  316.           (1) and (2), above, respectively..
  317.  
  318.           You may define up to 10 Security Levels. All unused entries must
  319.           be defined as   000=00/00
  320.         --------------------------------------------------------------------
  321.           Example: Suppose you had 3 Security Levels defined on your BBS as
  322.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  323.           wanted to set Plays Per Day as :     Subscriber=5
  324.                                            Visiting Sysop=2
  325.                                                   CoSysop=3
  326.                                                    Friend=10
  327.  
  328.           and Door Time as follows:     Subscriber=30 minutes
  329.                                     Visiting Sysop=20 minutes
  330.                                            CoSysop=10 minutes
  331.                                             Friend=remaining call time
  332.  
  333.  
  334.           You would set the Individual "Games per Day" config entry to 1 and
  335.           the individual "Door Time" to 5 minutes (these would be the
  336.           default number of games and default Time for all Security Levels
  337.           other than 20,30 or 40... make them any number you want). Next you
  338.           would replace 4 of the Security Level entries as :  020=05/30
  339.                                                               030=02/20
  340.                                                               040=03/10
  341.                                                               090=10/0
  342.  
  343.  
  344.                         NON-STANDARD COM SUPPORT
  345.                         ________________________
  346.  
  347.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  348.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  349.       number after the configuration filename. Let's assume your Door is
  350.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  351.       passed to your Door would be:
  352.  
  353.                             FOOBAR FOOBAR.CFG /5
  354.  
  355.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  356.       normally used with COM1. No /x parameter is needed for the standard
  357.       IRQ's.
  358.  
  359.       As an alternative, you may use an environmental variable on the command
  360.       line. To use the variable (following the example above), place a
  361.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  362.       different IRQ number for each node). The command line would now look
  363.       like this:
  364.  
  365.                           FOOBAR FOOBAR.CFG /%IRQ%
  366.  
  367.       This, in combination with the use of the environmental variables
  368.       described in the MULTI-NODE SETUP section will allow you to use one
  369.       batch file and one config file to run this door on all nodes.
  370.  
  371.  
  372.  
  373.  
  374.                            MULTI-NODE SETUP
  375.                            ________________
  376.  
  377.       All Sunrise Doors are Multi-Node capable. Each node must have the
  378.       ability to access a configuration file which will have its own system
  379.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  380.       line. There are 2 ways to accomplish this:
  381.  
  382.       (1) Create a separate configuration file for each node. The only
  383.           difference between each file would be the location of the system
  384.           file for that particular node. For example, on my system there are 2
  385.           nodes and the first line of the config files would look like this:
  386.  
  387.                         NODE1:  H:\PCB1\DOOR.SYS
  388.                         NODE2:  H:\PCB2\DOOR.SYS
  389.  
  390.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  391.  
  392.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  393.           the following PCBoard environmental variables:
  394.  
  395.                  PCBDIR    (Directory containing the System file)
  396.                  PCBDRIVE  (Drive containing the System file)
  397.  
  398.           Thus, the first line of the SINGLE configuration file, for this Door
  399.           would look like this:
  400.  
  401.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  402.  
  403.       NOTE: This option, as described, assumes that you are running PCBoard
  404.             14.5a software. The environmental variables are automatically
  405.             created by the software for each node.
  406.  
  407.             HOWEVER, if you are running other BBS software you should be able
  408.             to set the variables EXACTLY as described below, for EACH node
  409.             (more than likely in each batch file you use to bring up EACH node):
  410.  
  411.                             PCBDRIVE=C:
  412.                             ^^^^^^^^^
  413.                             PCBDIR=\NODE2
  414.                             ^^^^^^^^
  415.  
  416.             Info with a carat (^) under it, MUST be typed as is. The rest
  417.             depends on your naming conventions.
  418.  
  419.             This, in combination with the use of the optional environmental
  420.             variable described in the NON-STANDARD COM SUPPORT section, will
  421.             allow you to use one batch file and one config file to run this
  422.             door on all nodes.
  423.  
  424.  
  425.  
  426.                                ADOPT-A-DOOR
  427.                                ____________
  428.  
  429.     Having been a Sysop for a number of years, I have had my share of problems
  430.     and frustrations getting financial support for my board's upkeep. A fellow
  431.     Sysop left a message on my board, not long ago, about a concept that was
  432.     being used by several boards around the country.
  433.  
  434.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  435.     would be the same as sending in a donation, only this way it is earmarked
  436.     for registering a particular door. In a way, the user feels he/she is
  437.     "getting something in return". As a Door author I have decided to build
  438.     this concept into each of my Door programs. The concept replaces the
  439.     usual message "tell the Sysop to register this Door" we find in most
  440.     doors.
  441.  
  442.     If the Door is unregisterd then a message appears on the opening screen
  443.     to that effect. After finishing or suspending a game, a message screen
  444.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  445.     caller to contact the Sysop to find out if there is any further details
  446.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  447.     time, etc to callers that ADOPT-A-DOOR.
  448.  
  449.     If the Door has been registered, either by the Sysop or other callers,
  450.     the names of those contributors will be displayed in the closing screen.
  451.  
  452.     NOTE: If you want to display the names of the callers that contributed
  453.           to registering the Door, you must create an ASCII file called
  454.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  455.           the name(s) of the contributors (one on each line, maximum of 5
  456.           entries, each a maximum of 30 characters long). This file must be
  457.           saved, in ASCII format, and placed in the Door directory.
  458.  
  459.  
  460.  
  461.                               LEGALITIES
  462.                               __________
  463.  
  464.  
  465.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  466.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  467.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  468.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  469.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  470.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  471.       OR BREACH OF ANY WARRANTY.
  472.  
  473.  
  474.  
  475.  
  476.  
  477.                              DISTRIBUTION
  478.                              ____________
  479.  
  480.    You may make this file available for downloading from your BBS or you may
  481.    upload it to any BBS of your choice, provided that you do not make any
  482.    changes to the contents of the archive (ZIP file). The archive and its
  483.    individual contents may not be used by any service that charges any money
  484.    whatsoever, without the written permission of the author.
  485.  
  486.  
  487.  
  488.  
  489.  
  490.                              REGISTRATION
  491.                              ____________
  492.  
  493.    Registration and the subsequent insertion of the registration number into
  494.    your configuation file, allows for the display of your BBS name on the
  495.    opening and closing screen as well as the reduction of a delay built into
  496.    the opening screen display along with the ability to change certain
  497.    values in the configuration file.
  498.  
  499.    To register your copy of LMATCH please fill out the registration form
  500.    (REGISTER.FRM) and mail it along with the registration fee to
  501.    the name and address on the form.
  502.  
  503.    Be sure to use the proper upper/lower case when filling in your name and
  504.    BBS name, as they MUST match the way you entered them in the configuration
  505.    file.             ^^^^
  506.  
  507.    Based upon information supplied on the registration form, I will pre-
  508.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  509.    up your registration number.
  510.  
  511.  
  512.  
  513.                                  MISC
  514.                                  ____
  515.  
  516.    The latest version of Letter Match and other fine SUNRISE DOOR programs
  517.    are always available for download from SUNRISE-80 BBS.
  518.  
  519.    Remember, should you have any problems, questions or suggestions, be sure
  520.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors,
  521.    PCBHints, SYSops) or on SMARTNET (SN_Sysops) or FIDO 1:133/410.
  522.